﻿using System;
using System.Runtime.Serialization;

namespace OpenHopla.Geometry
{
    [Serializable]
    public class ShapeException : Exception
    {
        public ShapeException()
            : this("shape exception")
        {
        }

        public ShapeException(string message)
            : base(message)
        {
        }

        public ShapeException(string message, Exception innerException)
            : base(message, innerException)
        {
        }

        protected ShapeException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }
}
